CC = gcc
OFILES = tp2ej4.o fifo.o

all: tp2ej4

tp2ej4: $(OFILES)
	$(CC) -o tp2ej4 $(OFILES)

main.o: tp2ej4.c
	$(CC) -c tp2ej4.c

fifo.o: fifo/fifo.c
	$(CC) -c fifo/fifo.c

clean:
	rm *.o tp2ej4
